package com.niodata.dp.app;

import java.io.IOException;
import java.util.List;

public interface AppManager {

  public List<AppInfo> getUserAuthorizedApps(long userId, String keyWord, int offset, int count);

  public List<AppInfo> getUserApps(long userId, String keyWord);

  public void createApp(AppInfo appInfo);

  public void deleteApp(String appId) throws IOException;

  public void updateApp(AppInfo appInfo);

  public AppInfo getByAppId(String appId);

  public AppInfo getByAppCode(String appCode);
}
